<?php
include 'Thumb.php';
$thumb = new Thumb();
try {
    $thumb->make('image.jpg', 'image_thumb.jpg', 1000, 400, 2);
} catch (Exception $e) {
    echo $e->getMessage();
}



